XMPP / WebRTC Signaling Flow Visualizer
📚 Teaching Demo – Dr. Haitao Xu
Simulated demo for CS teaching: networks, cybersecurity, software engineering, data science, and programming.
Packet loss:
🧑🏫 Classroom Use
What students need to understand
Teaching goals (for this demo)
Example student activities
☁
XMPP Server
Signaling / routing
<message> invite to conference
<iq> signaling / routing
<presence> accept & join
🔁 XMPP Layer (signaling)
<presence> – indicates availability / join a room.
<message> – carries chat text or call invitation.
<iq> – request/response for configuration or negotiation.
- All centered around the XMPP server (routing hub).
🎥 WebRTC Layer (media)
- Once signaling is done, a peer-to-peer RTP/RTCP stream is established.
- Packet loss affects effective quality (latency, jitter, visible glitches).
- This demo uses fake packets to visualize different loss levels.